package com.njtech.smartuniversity.bean;

import java.util.ArrayList;
import java.util.List;

public class AssistantBeanExample {
    protected String caseByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public int getArea_id() {
        return area_id;
    }

    public void setArea_id(int area_id) {
        this.area_id = area_id;
    }

    public  int area_id;


    public AssistantBeanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setCaseByClause(String caseByClause) {
        this.caseByClause = caseByClause;
    }

    public String getCaseByClause() {
        return caseByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        caseByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("assistant.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("assistant.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("assistant.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("assistant.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("assistant.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("assistant.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("assistant.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("assistant.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("assistant.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("assistant.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("assistant.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("assistant.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseNameIsNull() {
            addCriterion("casename is null");
            return (Criteria) this;
        }

        public Criteria andCaseNameIsNotNull() {
            addCriterion("casename is not null");
            return (Criteria) this;
        }

        public Criteria andGNameEqualTo(String value) {
            addCriterion("casename =", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameNotEqualTo(String value) {
            addCriterion("casename <>", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameGreaterThan(String value) {
            addCriterion("casename >", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameGreaterThanOrEqualTo(String value) {
            addCriterion("casename >=", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameLessThan(String value) {
            addCriterion("casename <", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameLessThanOrEqualTo(String value) {
            addCriterion("casename <=", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameLike(String value) {
            addCriterion("casename like", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameNotLike(String value) {
            addCriterion("casename not like", value, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameIn(List<String> values) {
            addCriterion("casename in", values, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameNotIn(List<String> values) {
            addCriterion("casename not in", values, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameBetween(String value1, String value2) {
            addCriterion("casename between", value1, value2, "casename");
            return (Criteria) this;
        }

        public Criteria andGNameNotBetween(String value1, String value2) {
            addCriterion("casename not between", value1, value2, "casename");
            return (Criteria) this;
        }

        public Criteria andGPriceIsNull() {
            addCriterion("numbers is null");
            return (Criteria) this;
        }

        public Criteria andGPriceIsNotNull() {
            addCriterion("numbers is not null");
            return (Criteria) this;
        }

        public Criteria andGPriceEqualTo(String value) {
            addCriterion("numbers =", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceNotEqualTo(String value) {
            addCriterion("numbers <>", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceGreaterThan(String value) {
            addCriterion("numbers >", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceGreaterThanOrEqualTo(String value) {
            addCriterion("gnumbers >=", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceLessThan(String value) {
            addCriterion("numbers <", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceLessThanOrEqualTo(String value) {
            addCriterion("numbers <=", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceLike(String value) {
            addCriterion("numbers like", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceNotLike(String value) {
            addCriterion("numbers not like", value, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceIn(List<String> values) {
            addCriterion("numbers in", values, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceNotIn(List<String> values) {
            addCriterion("numbers not in", values, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceBetween(String value1, String value2) {
            addCriterion("numbers between", value1, value2, "numbers");
            return (Criteria) this;
        }

        public Criteria andGPriceNotBetween(String value1, String value2) {
            addCriterion("numbers not between", value1, value2, "numbers");
            return (Criteria) this;
        }

        public Criteria andGQuantityIsNull() {
            addCriterion("casetype_id is null");
            return (Criteria) this;
        }

        public Criteria andGQuantityIsNotNull() {
            addCriterion("casetype_id is not null");
            return (Criteria) this;
        }

        public Criteria andGQuantityEqualTo(Integer value) {
            addCriterion("casetype_id =", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityNotEqualTo(Integer value) {
            addCriterion("casetype_id <>", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityGreaterThan(Integer value) {
            addCriterion("casetype_id >", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("casetype_id >=", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityLessThan(Integer value) {
            addCriterion("casetype_id <", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("casetype_id <=", value, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityIn(List<Integer> values) {
            addCriterion("casetype_id in", values, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityNotIn(List<Integer> values) {
            addCriterion("casetype_id not in", values, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityBetween(Integer value1, Integer value2) {
            addCriterion("casetype_id between", value1, value2, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("casetype_id not between", value1, value2, "casetype_id");
            return (Criteria) this;
        }

        public Criteria andGLyIsNull() {
            addCriterion("intendeds is null");
            return (Criteria) this;
        }

        public Criteria andGLyIsNotNull() {
            addCriterion("intendeds is not null");
            return (Criteria) this;
        }

        public Criteria andGLyEqualTo(String value) {
            addCriterion("intendeds =", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyNotEqualTo(String value) {
            addCriterion("intendeds <>", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyGreaterThan(String value) {
            addCriterion("intendeds >", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyGreaterThanOrEqualTo(String value) {
            addCriterion("intendeds >=", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyLessThan(String value) {
            addCriterion("intendeds <", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyLessThanOrEqualTo(String value) {
            addCriterion("intendeds <=", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyLike(String value) {
            addCriterion("intendeds like", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyNotLike(String value) {
            addCriterion("intendeds not like", value, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyIn(List<String> values) {
            addCriterion("intendeds in", values, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyNotIn(List<String> values) {
            addCriterion("intendeds not in", values, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyBetween(String value1, String value2) {
            addCriterion("intendeds between", value1, value2, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGLyNotBetween(String value1, String value2) {
            addCriterion("intendeds not between", value1, value2, "intendeds");
            return (Criteria) this;
        }

        public Criteria andGVidIsNull() {
            addCriterion("tel is null");
            return (Criteria) this;
        }

        public Criteria andGVidIsNotNull() {
            addCriterion("tel is not null");
            return (Criteria) this;
        }

        public Criteria andGVidEqualTo(Integer value) {
            addCriterion("tel =", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidNotEqualTo(String value) {
            addCriterion("tel <>", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidGreaterThan(String value) {
            addCriterion("tel >", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidGreaterThanOrEqualTo(String value) {
            addCriterion("tel>=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidLessThan(String value) {
            addCriterion("tel <", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidLessThanOrEqualTo(String value) {
            addCriterion("tel <=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidLike(String value) {
            addCriterion("tel like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidNotLike(String value) {
            addCriterion("tel not like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidIn(List<String> values) {
            addCriterion("tel in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidNotIn(List<String> values) {
            addCriterion("tel not in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidBetween(String value1, String value2) {
            addCriterion("tel between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andGVidNotBetween(String value1, String value2) {
            addCriterion("tel not between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andGImgIsNull() {
            addCriterion("basic is null");
            return (Criteria) this;
        }

        public Criteria andGImgIsNotNull() {
            addCriterion("basic is not null");
            return (Criteria) this;
        }

        public Criteria andGImgEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andGImgNotEqualTo(String value) {
            addCriterion("basic <>", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgGreaterThan(Integer value) {
            addCriterion("assistant.state >", value, "assistant.state");
            return (Criteria) this;
        }

        public Criteria andGImgGreaterThanOrEqualTo(String value) {
            addCriterion("basic >=", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgLessThan(String value) {
            addCriterion("basic <", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgLessThanOrEqualTo(String value) {
            addCriterion("basic <=", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgLike(String value) {
            addCriterion("basic like", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgNotLike(String value) {
            addCriterion("basic not like", value, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andGImgNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andGImgBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "basic");
            return (Criteria) this;
        }

        public Criteria andGImgNotBetween(String value1, String value2) {
            addCriterion("state not state", value1, value2, "state");
            return (Criteria) this;
        }



        public Criteria andSIUuidIsNull() {
            addCriterion("assistant.area_id is null");
            return (Criteria) this;
        }

        public Criteria andSIUuidIsNotNull() {
            addCriterion("assistant.area_id is not null");
            return (Criteria) this;
        }

        public Criteria andSIUuidEqualTo(Integer value) {
            addCriterion("assistant.area_id =", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidNotEqualTo(Integer value) {
            addCriterion("assistant.area_id <>", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidGreaterThan(Integer value) {
            addCriterion("assistant.area_id >", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidGreaterThanOrEqualTo(Integer value) {
            addCriterion("assistant.area_id >=", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidLessThan(Integer value) {
            addCriterion("assistant.area_id <", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidLessThanOrEqualTo(Integer value) {
            addCriterion("assistant.area_id <=", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidLike(Integer value) {
            addCriterion("assistant.area_id like", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidNotLike(Integer value) {
            addCriterion("assistant.area_id not like", value, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidIn(List<Integer> values) {
            addCriterion("assistant.area_id in", values, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidNotIn(List<Integer> values) {
            addCriterion("assistant.area_id not in", values, "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidBetween(Integer value1) {
            addCriterion("assistant.area_id between", value1,  "area_id");
            return (Criteria) this;
        }

        public Criteria andSIUuidNotBetween(Integer value1) {
            addCriterion("assistant.area_id not between", value1, "area_id");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}